# from django import forms
from rest_framework import serializers
from .models import ApiData, ApiLogs
from django.contrib.auth.models import User


class ApiDataSerializer(serializers.ModelSerializer):
    class Meta:
        model = ApiData
        fields = '__all__'


class ApiLogsSerializer(serializers.ModelSerializer):
    class Meta:
        model = ApiLogs
        fields = '__all__'


class UserSerializer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = '__all__'
